#ifndef STOCKSCONTAINER_H
#define STOCKSCONTAINER_H

#include <QString>
#include <QList>


class StockInfo;
class ConfigHelper;

class StocksContainer
{
public:
    StocksContainer();
    ~StocksContainer();
    StockInfo *getStock(int position);
    void addById(QString stockId);
    void readdByIds(QStringList &stockStrList, ConfigHelper &helper);
    int size();
    bool isExist(QString stockId, int& pos);

private:
    QList<StockInfo *> stockList;
};

#endif // STOCKSCONTAINER_H
